<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:59:"D:\www\fdc\public/../application/home\view\chuzu\index.html";i:1493610368;s:61:"D:\www\fdc\public/../application/home\view\public\layout.html";i:1493431594;s:59:"D:\www\fdc\public/../application/home\view\chuzu\right.html";i:1493349322;s:61:"D:\www\fdc\public/../application/home\view\public\footer.html";i:1493803247;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<!-- manifest="cache.manifest" -->
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo['title']; ?></title>
    <meta name="keywords" content="<?php echo $seo['keys']; ?>" />
    <meta name="description" content="<?php echo $seo['desc']; ?>" />
    <link type="text/css" rel="stylesheet"  href="__CSS__/format_dom.css"/>
    <link type="text/css" rel="stylesheet"  href="__CSS__/main.css"/>
    <!--[if lte IE 8]>
    <script src="__JS__/ie/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
    <script src="__PUBLIC__/js/jquery.min.js"></script>
</head>
<body>
<div>
    <div class="top_line">
        <div class="main">
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <li><a href="<?php echo url('Agency/index'); ?>">经纪人</a></li>
            </ul>
            <?php if(empty($userInfo) || (($userInfo instanceof \think\Collection || $userInfo instanceof \think\Paginator ) && $userInfo->isEmpty())): ?>
            <span><a href="<?php echo url('user.login/index'); ?>" >登录</a></span>
            <span><a href="<?php echo url('user.login/reg'); ?>" >注册</a></span>
            <?php else: ?>
            <div style="float:right;color:#fff;"><em><?php echo $userInfo['nickname']; ?></em>,欢迎您的到来 <a href="<?php echo url('user.index/index'); ?>">会员中心</a> | <a href="<?php echo url('user.login/logout'); ?>">退出</a></div>
            <?php endif; ?>
        </div>
    </div>
    <div class="top_nav">
        <div class="top">
            <span class="logo"><img src="<?php echo $site['pcLogo']; ?>" width="80" height="64"></span>
            <div class="city city-box"><span class="city_span"></span><?php echo $cityInfo['name']; ?></div>
            <div class="city_box" id="CPM" style="display:none;">
                <div class="cities-con">
                    <p class="tit">选择城市 <a href="<?php echo url('Index/index@www'); ?>" class="gd_btn">更多城市</a></p>
                    <ul class="cities-opts clearfix">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="clearfix">
                            <em class="icons"><?php echo $key; ?></em>
                            <p>
                                <?php if(is_array($vo) || $vo instanceof \think\Collection || $vo instanceof \think\Paginator): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <a <?php if($val['is_hot'] == 1): ?>class="highlight"<?php endif; ?> href="<?php echo url('Index/index@'.$val['domain']); ?>"><?php echo $val['name']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </p>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <i></i>
                </div>
                <a href="javascript:;" class="close_btn">×</a>
            </div>
            <div class="nav t_mar">
                <ul>
                    <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                    <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="h_l_s overflow_h">
        <form action="<?php echo url('Loupan/index'); ?>" method="get" id="search-form">
            <div class="h_l_s_box">
<span class="h_l_input">
<input name="keyword" type="text" class="h_l_i" id="keyword" placeholder="请输入楼盘名称">
<a href="javascript:;" class="but03" id="search-btn">搜索</a>
</span>
                <a href="<?php echo url('Map/index'); ?>" class="but04">地图找房</a>
            </div>
        </form>
    </div>
    
</div>

<div class="main">
    <div class="position">
        <p>
            <span>更新时间：<?php echo date("Y年m月d日"); ?></span>您当前的位置：<a href="<?php echo url('Index/index'); ?>"><?php echo $site['title']; ?></a> > <a href="<?php echo url('Chuzu/index'); ?>">出租房</a>
        </p>
    </div>
    <div class="screen">
        <div class="tab03 overflow_h">
            <ul class="idTabs">
                <li><a href="<?php echo url('Chuzu/index'); ?>" class="selected">按区域找房</a></li>
                <li><a href="<?php echo url('Map/index',['type'=>'rental']); ?>">地图找房</a></li>
            </ul>
        </div>
        <div class="screen_box">
            <div class="screen_box01 overflow_h">
                <span>区域：</span>
                <ul>
                    <li><a href="<?php echo getUrl('Chuzu/index','area',$param,0); ?>" <?php if(empty($search['area']) || (($search['area'] instanceof \think\Collection || $search['area'] instanceof \think\Paginator ) && $search['area']->isEmpty())): ?>class="on"<?php endif; ?>>不限</a></li>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a title="<?php echo $vo['name']; ?>" <?php if($vo['id'] == $search['area']): ?>class="on"<?php endif; ?> href="<?php echo getUrl('Chuzu/index','area',$param,$vo['id']); ?>"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="screen_box01 overflow_h">
                <span>租金：</span>
                <ul>
                    <li><a href="<?php echo getUrl('Chuzu/index','price',$param,0); ?>" <?php if(empty($search['price']) || (($search['price'] instanceof \think\Collection || $search['price'] instanceof \think\Paginator ) && $search['price']->isEmpty())): ?>class="on"<?php endif; ?>>不限</a></li>
                    <?php if(is_array($price) || $price instanceof \think\Collection || $price instanceof \think\Paginator): $i = 0; $__LIST__ = $price;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo getUrl('Chuzu/index','price',$param,$key); ?>" <?php if($key == $search['price']): ?>class="on"<?php endif; ?>><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="screen_box01 overflow_h">
                <span>面积：</span>
                <ul>
                    <li><a href="<?php echo getUrl('Chuzu/index','mianji',$param,0); ?>" <?php if(empty($search['price']) || (($search['price'] instanceof \think\Collection || $search['price'] instanceof \think\Paginator ) && $search['price']->isEmpty())): ?>class="on"<?php endif; ?>>不限</a></li>
                    <?php if(is_array($mianji) || $mianji instanceof \think\Collection || $mianji instanceof \think\Paginator): $i = 0; $__LIST__ = $mianji;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo getUrl('Chuzu/index','mianji',$param,$key); ?>" <?php if($key == $search['mianji']): ?>class="on"<?php endif; ?>><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="screen_box01 overflow_h">
                <span>房型：</span>
                <ul>
                    <li><a href="<?php echo getUrl('Chuzu/index','room',$param,0); ?>" <?php if(empty($search['room']) || (($search['room'] instanceof \think\Collection || $search['room'] instanceof \think\Paginator ) && $search['room']->isEmpty())): ?>class="on"<?php endif; ?>>不限</a></li>
                    <?php if(is_array($room) || $room instanceof \think\Collection || $room instanceof \think\Paginator): $i = 0; $__LIST__ = $room;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo getUrl('Chuzu/index','room',$param,$key); ?>" <?php if($key == $search['room']): ?>class="on" <?php endif; ?>><?php echo $vo; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="screen_box01 overflow_h">
                <span>类型：</span>
                <ul>
                    <li><a href="<?php echo getUrl('Chuzu/index','usertype',$param,0); ?>" <?php if(empty($search['room']) || (($search['room'] instanceof \think\Collection || $search['room'] instanceof \think\Paginator ) && $search['room']->isEmpty())): ?>class="on"<?php endif; ?>>不限</a></li>
                    <li><a href="<?php echo getUrl('Chuzu/index','usertype',$param,1); ?>" <?php if($search['usertype'] == 1): ?>class="on" <?php endif; ?>>个人房源</a></li>
                    <li><a href="<?php echo getUrl('Chuzu/index','usertype',$param,2); ?>" <?php if($search['usertype'] == 2): ?>class="on" <?php endif; ?>>中介房源</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="overflow_h">
        <div class="house_l">
            <div class="s_h_n1 es_px">
                <span>排序：</span>
                <a href="<?php echo getUrl('Chuzu/index','sort',$param,0); ?>" <?php if($sort == 0): ?>class="no_select no_select3"<?php endif; ?>>默认</a>
                <?php if($sort == 2): ?>
                <a href="<?php echo getUrl('Chuzu/index','sort',$param,1); ?>" class="no_select no_select4">租金</a>
                <?php elseif($sort == 1): ?>
                <a href="<?php echo getUrl('Chuzu/index','sort',$param,2); ?>" class="no_select no_select3">租金</a>
                <?php else: ?>
                <a href="<?php echo getUrl('Chuzu/index','sort',$param,1); ?>">租金</a>
                <?php endif; ?>

            </div>
            <div class="house_box ">
                <ul>
                    <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li class="overflow_h">
                        <div class="h_box01">
                            <a href="<?php echo url('Chuzu/detail',['id'=>$vo['id']]); ?>" title="<?php echo $vo['title']; ?>"><img src="__IMG__/loading.gif" alt="<?php echo $vo['title']; ?>" class="lazy" data-original="<?php echo $vo['img']; ?>" width="217" height="165"></a>
                        </div>
                        <div class="h_box02_1">
                            <b><span><a href="<?php echo url('Chuzu/detail',['id'=>$vo['id']]); ?>"  title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a></span></b>
                        </div>
                        <div class="h_box04">
                            <p>
                                <?php echo $zhuangxiu[$vo['zhuangxiu']]['name']; ?> | 第<?php echo $vo['floor']; ?>层/共<?php echo $vo['total_floor']; ?>层
                            </p>
                            <p>
                                <span class="h_box05"><i><?php echo $vo['room']; ?>房<?php echo $vo['ting']; ?>厅</i><i><?php echo $vo['mianji']; ?>平米</i></span><?php echo $vo['address']; ?>
                            </p>
                            <div class="h_ts overflow_h">

                                <i class="h_ts01"><?php echo $chaoxiang[$vo['chaoxiang']]['name']; ?>朝向</i>
                            </div>
                            <p class="overflow_h m_t_10">
                                <span class="contact"><?php echo $vo['contact']; ?></span>
                                <span class="contact_phone"><?php echo $vo['contact_phone']; ?></span>
                            </p>
                        </div>
                        <div class="h_box06">
                            <p>
                                <span class="text08"><?php echo $vo['price']; ?></span>元/月
                            </p>
                            <p class="text09">
                                <?php echo $rentalpay[$vo['rental_pay']]['name']; ?>
                            </p>

                        </div>
                    </li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>

                </ul>
                <div class="plastic_bottom_pages">
                    <?php echo $pages; ?>
                </div>
            </div>
        </div>
        <div class="house_r">
            <div class="release">
                <a href="<?php echo url('Release/entrustUsed'); ?>" class="but110">委托出售</a>
                <a href="<?php echo url('Release/entrustRental'); ?>" class="but110">委托出租</a>
                <a href="<?php echo url('Release/buy'); ?>" class="but111">发布求购</a>
                <a href="<?php echo url('Release/rent'); ?>" class="but111">发布求租</a>
            </div>
            <div class="m_t_15">
                <div class="title01">
                    <?php echo $cityInfo['name']; ?>出租房推荐
                </div>
                <div class="s_h_tuijian">
                    <ul><?php $cityid=$cityInfo['id']; $obj = model("position");$obj->where("status=1 and cate_id=5 and model='rental' and city=$cityid");$obj->field("house_id,img,title,data");$obj->order("ordid asc,id desc");$name = $obj->limit(5)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
    <li>
        <span class="s_h_tuij_img"><a href="<?php echo url('Chuzu/detail',['id'=>$data['house_id']]); ?>" title="<?php echo $data['title']; ?>"><img src="<?php echo $data['img']; ?>" width="295" height="165"></a></span>
        <b><i><?php echo $data['data']['price']; ?>元/月</i><a href="<?php echo url('Chuzu/detail',['id'=>$data['house_id']]); ?>"><?php echo $data['title']; ?></a></b>
        <p>
            <?php echo $data['data']['room']; ?>房<?php echo $data['data']['ting']; ?>厅
        </p>
    </li>
    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
</ul>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：<?php echo $site['telphone']; ?></span>
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 2): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a target="<?php echo $vo['open_type']; ?>" href="<?php echo $url; ?>"><?php echo $vo['title']; ?></a> </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected"><?php echo $cityInfo['name']; ?>新房推荐</a></li>
                    <li><a href="javascript:;"><?php echo $cityInfo['name']; ?>二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Loupan/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>新房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Second/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>二手房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    <?php $obj = model("link");$obj->where("status=1");$obj->field("name,url");$obj->order("ordid asc,id desc");$name = $obj->limit(50)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>" target="_blank"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © <?php echo date("Y"); ?> <?php echo config('url_domain_root'); ?>. All Rights Reserved ICP备案号：<?php echo $site['icp']; ?></p>
                <p>公司名称：<?php echo $site['companyname']; ?></p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="<?php echo $site['weixin_pic']; ?>" width="90" height="90"></span>
                        <p>关注<?php echo $site['title']; ?>微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
<?php echo $site['countcode']; ?>
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script>
    $(function(){
        $('#search-btn').bind('click',function(){
            var keyword = $('#keyword').val();
            if(keyword.length==0){
                layer.msg('请填写楼盘关键词',{icon:2});
                return false;
            }
            $('#search-form').submit();
        });
    });
</script>
</body>
</html>
